package android.demo.engine.tasks;

import android.content.Context;
import android.content.Intent;
import android.demo.engine.ProcessStateManager;
import android.demo.engine.visitor.TaskVisitor;

public class ActivityTask extends Task {

	public ActivityTask(int id) {
		super(id);
	}

	@Override
	public void accept(TaskVisitor visitor) {
		visitor.visit(this);
	}
	
	@Override
	public short getType() {
		return Task.Types.ACTIVITY_TASK;
	}
	//TODO remove hardCodedTask class and write correct implementation for these methods
	public Intent prepareIntent(Context process, ProcessStateManager processState){
		return null;
	}

	public void manageResult(Intent data, ProcessStateManager processState){
		
	}

	public boolean hasResult() {
		return false;
	}
}
